//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.vere.rpc.msg;

import java.io.Serializable;

public class CallMessage implements Serializable {
    private static final long serialVersionUID = 5386052199960133937L;
    private String serviceInterface;
    private String className;
    private String methodName;
    private Class<?>[] types;
    private Object[] objects;
    public static int CONNECT = 1;
    public static int INVOKE = 2;
    public static int CLOSE = -1;
    private int action;

    public CallMessage() {
        this.action = CONNECT;
    }

    public String getClassName() {
        return this.className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return this.methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getTypes() {
        return this.types;
    }

    public void setTypes(Class<?>[] types) {
        this.types = types;
    }

    public Object[] getObjects() {
        return this.objects;
    }

    public void setObjects(Object[] objects) {
        this.objects = objects;
    }

    public String getServiceInterface() {
        return this.serviceInterface;
    }

    public void setServiceInterface(String serviceInterface) {
        this.serviceInterface = serviceInterface;
    }

    public int getAction() {
        return this.action;
    }

    public void setAction(int action) {
        this.action = action;
    }
}
